package com.boyunv.adapter.example01;/*
 *@description
 *  适配器类(SD兼容TF)
 *@author boyunv
 *@create 2023/7/18 7:38
 *@version 1.0
 */

public class SDAdapterTF extends TFCardImpl implements SDCard{
    @Override
    public String readSD() {
        System.out.println("adapter read tf  card");
        return readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("adapter write tf  card"+msg);

    }
}
